﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using CPPProject.CppModel;
using System;
using System.ComponentModel.DataAnnotations;

namespace CPPProject.CppServices.Dto
{
    [AutoMapTo(typeof(T_Biz_Order))]
    public class UpdateT_Biz_OrderDto : EntityDto<Guid>
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        [MaxLength(100)]
        public string NCompanyID { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        [MaxLength(100)]
        public string COrderCode { get; set; }
        /// <summary>
        /// 合同编号
        /// </summary>
        [MaxLength(300)]
        public string CCode { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        [MaxLength(300)]
        public string CCusCode { get; set; }
        /// <summary>
        /// 下单日期
        /// </summary>
        public DateTime DDate { get; set; }
        /// <summary>
        /// 订单交期
        /// </summary>
        public DateTime DDeliveryDate { get; set; }
        /// <summary>
        /// 
        /// </summ订单状态（0待审核1确认审核2确认完成3已关	闭4审核中）ary>
        [MaxLength(300)]
        public string IStatus { get; set; }
        /// <summary>
        /// 发出站点
        /// </summary>
        [MaxLength(300)]
        public string NFromLocationID { get; set; }
        /// <summary>
        /// 接收站点
        /// </summary>
        [MaxLength(300)]
        public string NToLocationID { get; set; }
        /// <summary>
        /// 类型（1发出2回收）
        /// </summary>
        [MaxLength(300)]
        public string IType { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(300)]
        public string CRemark { get; set; }
        /// <summary>
        /// 创建人（UserID）
        /// </summary>
        [MaxLength(300)]
        public string NCreateUser { get; set; }
        /// <summary>
        /// 申请理由
        /// </summary>
        [MaxLength(300)]
        public string CApplyReason { get; set; }
        /// <summary>
        /// 其他要求
        /// </summary>
        [MaxLength(300)]
        public string COtherRequire { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        [MaxLength(300)]
        public string CProjectName { get; set; }
        /// <summary>
        /// 收货地址
        /// </summary>
        [MaxLength(300)]
        public string CAddress { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [MaxLength(300)]
        public string CContact { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [MaxLength(300)]
        public string CPhone { get; set; }
        /// <summary>
        /// 运输方式
        /// </summary>
        [MaxLength(300)]
        public string ITransMode { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        [MaxLength(300)]
        public string CCardID { get; set; }
        /// <summary>
        /// 联系司机
        /// </summary>
        [MaxLength(300)]
        public string CDPhone { get; set; }
        /// <summary>
        /// 业务类型（0期租1次租2贸易）
        /// </summary>
        [MaxLength(300)]
        public string IBusType { get; set; }
        /// <summary>
        /// 租赁天数
        /// </summary>
        [MaxLength(300)]
        public string NDays { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        [MaxLength(300)]
        public string NModifiUser { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        [MaxLength(300)]
        public string NCheckUser { get; set; }

    }
}
